[INFO] cloning repository https://github.com/LucaXiang/ektox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucaXiang/ektox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucaXiang%2Fektox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucaXiang%2Fektox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 072ed2be9d249a3a1d1efb8717cc6258eaa64d49
[INFO] fixing LucaXiang/ektox against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucaXiang%2Fektox" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LucaXiang/ektox
[INFO] finished tweaking git repo https://github.com/LucaXiang/ektox
[INFO] tweaked toml for git repo https://github.com/LucaXiang/ektox written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LucaXiang/ektox on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LucaXiang/ektox already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] acca5ccf9f9ef5209b1220905065bff2219fba595ff2bbfb65a42a300975cc56
[INFO] running `Command { std: "docker" "start" "acca5ccf9f9ef5209b1220905065bff2219fba595ff2bbfb65a42a300975cc56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "acca5ccf9f9ef5209b1220905065bff2219fba595ff2bbfb65a42a300975cc56" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "acca5ccf9f9ef5209b1220905065bff2219fba595ff2bbfb65a42a300975cc56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "acca5ccf9f9ef5209b1220905065bff2219fba595ff2bbfb65a42a300975cc56" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking windows v0.35.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking ektox v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/utils/window_finder.rs:65:44
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let len = GetWindowTextW(hwnd, &mut BUFFER) as usize;
[INFO] [stdout]    |                                            ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let len = GetWindowTextW(hwnd, &raw mut BUFFER) as usize;
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/utils/window_finder.rs:103:69
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &mut BUFFER) as usize;
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &raw mut BUFFER) as usize;
[INFO] [stdout]     |                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/utils/window_finder.rs (1 fix)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/utils/window_finder.rs:65:44
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let len = GetWindowTextW(hwnd, &mut BUFFER) as usize;
[INFO] [stdout]    |                                            ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let len = GetWindowTextW(hwnd, &raw mut BUFFER) as usize;
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/utils/window_finder.rs:103:69
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &mut BUFFER) as usize;
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &raw mut BUFFER) as usize;
[INFO] [stdout]     |                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.83s
[INFO] [stderr] crater-edition-check: ektox v1.0.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking ektox v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `SW_RESTORE`
[INFO] [stdout]  --> src/common/app.rs:8:75
[INFO] [stdout]   |
[INFO] [stdout] 8 |             GetMessageW, SetForegroundWindow, ShowWindow, MSG, SW_NORMAL, SW_RESTORE, WM_HOTKEY,
[INFO] [stdout]   |                                                                           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SW_RESTORE`
[INFO] [stdout]  --> src/common/app.rs:8:75
[INFO] [stdout]   |
[INFO] [stdout] 8 |             GetMessageW, SetForegroundWindow, ShowWindow, MSG, SW_NORMAL, SW_RESTORE, WM_HOTKEY,
[INFO] [stdout]   |                                                                           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance
[INFO] [stdout]   --> src/utils/window_finder.rs:46:59
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let enum_window_param: &mut EnumWindowParam = std::mem::transmute(lparam.0);
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this is dangerous because dereferencing the resulting pointer is undefined behavior
[INFO] [stdout]    = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance
[INFO] [stdout]    = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut`
[INFO] [stdout]    = help: for more information about transmute, see <https://doc.rust-lang.org/std/mem/fn.transmute.html#transmutation-between-pointers-and-integers>
[INFO] [stdout]    = help: for more information about exposed provenance, see <https://doc.rust-lang.org/std/ptr/index.html#exposed-provenance>
[INFO] [stdout]    = note: `#[warn(integer_to_ptr_transmutes)]` on by default
[INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance
[INFO] [stdout]    |
[INFO] [stdout] 46 -             let enum_window_param: &mut EnumWindowParam = std::mem::transmute(lparam.0);
[INFO] [stdout] 46 +             let enum_window_param: &mut EnumWindowParam = &mut *std::ptr::with_exposed_provenance_mut::<EnumWindowParam>(lparam.0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/utils/window_finder.rs:65:44
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let len = GetWindowTextW(hwnd, &mut BUFFER) as usize;
[INFO] [stdout]    |                                            ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let len = GetWindowTextW(hwnd, &raw mut BUFFER) as usize;
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/utils/window_finder.rs:103:69
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &mut BUFFER) as usize;
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &raw mut BUFFER) as usize;
[INFO] [stdout]     |                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ektox` (lib test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance
[INFO] [stdout]   --> src/utils/window_finder.rs:46:59
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let enum_window_param: &mut EnumWindowParam = std::mem::transmute(lparam.0);
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this is dangerous because dereferencing the resulting pointer is undefined behavior
[INFO] [stdout]    = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance
[INFO] [stdout]    = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut`
[INFO] [stdout]    = help: for more information about transmute, see <https://doc.rust-lang.org/std/mem/fn.transmute.html#transmutation-between-pointers-and-integers>
[INFO] [stdout]    = help: for more information about exposed provenance, see <https://doc.rust-lang.org/std/ptr/index.html#exposed-provenance>
[INFO] [stdout]    = note: `#[warn(integer_to_ptr_transmutes)]` on by default
[INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance
[INFO] [stdout]    |
[INFO] [stdout] 46 -             let enum_window_param: &mut EnumWindowParam = std::mem::transmute(lparam.0);
[INFO] [stdout] 46 +             let enum_window_param: &mut EnumWindowParam = &mut *std::ptr::with_exposed_provenance_mut::<EnumWindowParam>(lparam.0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/utils/window_finder.rs:65:44
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let len = GetWindowTextW(hwnd, &mut BUFFER) as usize;
[INFO] [stdout]    |                                            ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let len = GetWindowTextW(hwnd, &raw mut BUFFER) as usize;
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/utils/window_finder.rs:103:69
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &mut BUFFER) as usize;
[INFO] [stdout]     |                                                                     ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 len = K32GetModuleFileNameExW(handle, HINSTANCE(0), &raw mut BUFFER) as usize;
[INFO] [stdout]     |                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ektox` (lib) due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "acca5ccf9f9ef5209b1220905065bff2219fba595ff2bbfb65a42a300975cc56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acca5ccf9f9ef5209b1220905065bff2219fba595ff2bbfb65a42a300975cc56", kill_on_drop: false }`
[INFO] [stdout] acca5ccf9f9ef5209b1220905065bff2219fba595ff2bbfb65a42a300975cc56
